package org.example.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.pojo.Payment;

@Mapper
public interface PaymentDao {
    //根据ID查询
    Payment findPaymentById(@Param("id") long id);

    //添加
    int create(Payment payment);
}
